package top.hzy520.admin.carousel.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.hzy520.admin.carousel.entity.ConstsSiteCarousel;

import java.util.List;

@Mapper
public interface ConstsSiteCarouselMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ConstsSiteCarousel record);

    int insertSelective(ConstsSiteCarousel record);

    ConstsSiteCarousel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ConstsSiteCarousel record);

    int updateByPrimaryKey(ConstsSiteCarousel record);

    List<ConstsSiteCarousel> selectAll();

    List<ConstsSiteCarousel> selectCarouselPagination(@Param("offset") int offset,@Param("limit") int limit);

    int constsSiteCarouselPaginationCount();

    void carouselRemove(@Param("idList") List<Integer> idList);
}